package com.example.mydemo.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UserMapper {

    @Update("UPDATE `demo`.`user` SET `name` = '张三', `sex` = '0', `remark` = '收到', `count` = #{count} WHERE `id` = 1;")
    int update(@Param("count") Integer count);

}
